New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

zaq

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zaq

Yet another fun little logging utility.

  • 1.4.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
66
decreased by-25%
Maintainers
1
Weekly downloads
 
Created
Source

zaq

Did we need another Node-based logging utility? I dunno. Did we get one? Yeah.

Have you met zaq? He's based on practicality and performance. What are you doing? Shake his hand!

License: MIT

Installation

You know the drill. Install via NPM:

npm install zaq

Require in your Node project:

var zaq = require('zaq');

Zaq Demo

Logging API

.log( message )

Pass a message to zaq.log() to have it printed to the console. Yes, this is an alias of console.log().

.win( message )

Pass a success message to zaq.win() to display it in the win/success style: following a green checkmark and 'WIN:' prefix.

.err( message )

Pass an error message to zaq.err() to display it in the error style: following a red 'X' and 'ERR:' prefix.

.info( message )

Pass an informational message to zaq.info() to display it in the info style: following a blue arrow and 'INFO:' prefix.

.warn( message )

Pass a warning message to zaq.warn() to display it in the warning style: following a yellow hash and 'WARN:' prefix.

.time( message )

Pass a timing message to zaq.time() to display it in the timing style: following a grey diamond and 'TIME:' prefix.

.pretty( obj )

Pass an array or object to zaq.pretty() to get returned a JSON.stringify() string version that's properly spaced and indented. Used internally for .json() calls.

...and much more to be documented.

Keywords

FAQs

Package last updated on 21 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc